package model

func (Task) TableName() string {
	return "task"
}

type Task struct {
	Model
	UserId     string `gorm:"size:40;not null;default:''"`
	EmailTplId string `gorm:"size:40;not null;default:''"`
	Content    string `gorm:"type:text;not null;default:''"`
	Status     int8   `gorm:"not null;default:0"` // default 0: no get 1: running 2: success 3: failed
}
